package com.uperform.coach.tdd.task;

import com.uperform.coach.tdd.domain.NewTaskRequest;
import lombok.Data;

@Data
public class NewTaskForm {
    private String name;
    private String shouldExecuteAt;
    private String cycleTime;

    public NewTaskRequest toRequest() {
        return new NewTaskRequest(name, shouldExecuteAt, cycleTime);
    }
}
